package com.ruoyi.inducePest.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @program: ruoyi_202130504106_李航
 * @description: 计算两张图片框的IOU所用
 *               存储框的左上角坐标以及长宽
 * @author: LiHang
 * @create: 2022-03-06 15:40
 **/


@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class Rect {

    /**
     * 左上角横坐标
     */
    private int x;

    /**
     * 左上角纵坐标
     */
    private int y;

    /**
     * 宽
     */
    private int width;

    /**
     * 高
     */
    private int height;
}
